//总仓库
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
//1.创建大仓库
const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)
//2.对外暴露仓库
export default pinia